package com.example.xpvideo.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.example.xpvideo.entity.LsLocalGoods;
import com.example.xpvideo.entity.LsSeckillGoods;
import com.example.xpvideo.entity.res.LocalGoodsRes;
import com.example.xpvideo.entity.res.SeckillGoodsDetail;
import com.example.xpvideo.entity.res.SeckillGoodsRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface SeckillGoodsMapper {
    List<SeckillGoodsRes> SeckillGoodsList(@Param(Constants.WRAPPER) Wrapper<LsSeckillGoods> ew);
    SeckillGoodsDetail SeckillGoodsDetail (@Param(Constants.WRAPPER) Wrapper<LsSeckillGoods> ew);
}
